﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmartEP.Model;

namespace SmartEP.DataService
{
    public class DatabaseService
    {
        private DatabaseModel _model;
        public DatabaseService()
        {
            this._model = new DatabaseModel();
        }
        public System.Collections.ArrayList ReadDatabaseXML(string FileName)
        {
            return _model.ReadDatabaseXML(FileName);
        }
        public void WriteDatabaseXML(string FileName, SmartEP.DTO.Database database)
        {
            _model.WriteDatabaseXML(FileName, database);
        }
    }
}
